<template>
    <el-main>
        <el-main class="ep-body">
            <epl-top-bar :datas="{formData:form}" showPerson psTagType="PERSON_AAB001_GROUP"
                         personType="PERSON_AAC031_12" :panel="panel">
            </epl-top-bar>
            <epl-userMessage dataType="person" idCount="2" :panel="panel">
                <epl-userMessageItem title="待遇应发金额" :sum="''" :panel="panel">
                    <epl-column label="实际发放金额" :value="'￥'" :panel="panel"></epl-column>
                </epl-userMessageItem>
            </epl-userMessage>
            <el-card class="ep-card">
                <ep-title>请输入支付信息</ep-title>
                <el-form :model="form" ref="form" :rules="rules">
                    <el-row :gutter="10">
                        <ep-select colspan="8" placeholder="请选择终止原因" label="终止原因" name="aae160" :property="form.aae160" codetype="AAE160"
                                   p="R"  :datas="{formData:form}"  SelectFilterData="aaa102 in ('1401','1402','1403','1499')" rules="this.$rules.test_noBlank"></ep-select>
                        <ep-date colspan="8" label="终止年月" name="aae041"  :property="form.aae041"
                                 placeholder="请选择终止年月" p="R" format="yyyyMM" value-format="yyyyMM" :datas="{formData:form}" rules="this.$rules.test_noBlank"></ep-date>
                        <ep-input colspan="8"  label="本人指数化月平均工资" name="a" :property="form.a" p="D"
                                  :datas="{formData:form}"></ep-input>
                    </el-row>
                    <el-row :gutter="10">
                        <ep-dateYMD placeholder="请输入视同缴费年限"
                            type="YY-MM"
                            colspan="8"
                            isChange
                            label="视同缴费年限"
                            name="aae200"
                            :property="form.aae200"
                            p="R"
                            :datas="{formData: form}"
                        ></ep-dateYMD>
                        <ep-dateYMD
                            type="YY-MM"
                            colspan="8"
                            label="实际缴费年限"
                            name="aae201"
                            :property="form.aae201"
                            p="D"
                            :datas="{formData: form}"
                        ></ep-dateYMD>
                        <ep-input colspan="8"  label="按缴费年限领取指数化月缴费工资" name="b" :property="form.b" p="D"
                                  :datas="{formData:form}"></ep-input>
                    </el-row>
                    <el-row :gutter="10">
                        <ep-input colspan="8" label="账户累计储存额" name="c"  :property="form.c" p="D"
                                  :datas="{formData:form}"></ep-input>
                        <ep-input colspan="8" label="丧葬补助金" name="d"  :property="form.d" p="D"
                                  :datas="{formData:form}"></ep-input>
                        <ep-input colspan="8"  label="抚恤金" name="e"  :property="form.e" p="D"
                                  :datas="{formData:form}"></ep-input>
                    </el-row>
                    <el-row :gutter="10">
                        <ep-input colspan="8" label="一次性补贴" name="f"  :property="form.f" p="D"
                                  :datas="{formData:form}"></ep-input>
                        <ep-input colspan="8" label="可领取金额" name="g"  :property="form.g" p="D"
                                  :datas="{formData:form}"></ep-input>
                    </el-row>

                    <ep-title>请输入领取人员信息</ep-title>
                    <el-row :gutter="10">
                        <ep-select colspan="8" placeholder="请选择领取人关系" label="领取人关系" codetype="AAA223" name="aaa223"  :property="form.aaa223" p="R"
                                   :datas="{formData:form}" rules="this.$rules.test_noBlank"></ep-select>
                        <ep-input colspan="8" placeholder="请输入领取人姓名" label="领取人姓名" name="aae133" :property="form.aae133" p="R" rules="this.$rules.test_noBlank"
                                  :datas="{formData:form}"></ep-input>
                        <ep-select colspan="8" placeholder="请选择领取人证件类型" label="领取人证件类型" codetype="AAC059" name="aac059"  :property="form.aac059" p="R"
                                  :datas="{formData:form}" rules="this.$rules.test_noBlank"></ep-select>

                    </el-row>
                    <el-row :gutter="10">
                        <ep-input colspan="8" placeholder="请输入领取人证件号码" label="领取人证件号码" name="aae138" :property="form.aae138" p="R" rules="this.$rules.test_noBlank"
                                  :datas="{formData:form}"></ep-input>
                        <ep-input colspan="8" label="邮政编码" placeholder="请输入邮政编码" name="aae007" :property="form.aae007" p="R" rules="this.$rules.test_noBlank"
                                  :datas="{formData:form}"></ep-input>
                    </el-row>
                    <el-row :gutter="10">
                        <ep-select colspan="8" label="联系地址" name="bae011" :property="form.bae011"
                                   placeholder="请选择省" codetype="BAE007" p="E"  :datas="{formData:form}" isChange isCodeType></ep-select>
                        <ep-select colspan="4" label="" label-width="0" name="bae012" :property="form.bae012"
                                   placeholder="请选择市" codetype="BAE008" p="E" :datas="{formData: form}" isChange isCodeType
                                   SelectFilterData=" aaa102 like substr(':bae011',0,2)||'%' and aaa102 like '%00' "></ep-select>
                        <ep-select colspan="4" label="" label-width="0" name="bae013" :property="form.bae013"
                                   placeholder="请选择区县" codetype="BAE009" p="E" :datas="{formData: form}"
                                   SelectFilterData=" aaa102 like substr(':bae012',0,4)||'%'" ></ep-select>
                        <ep-input colspan="8" label="" label-width="0" name="aae006" :property="form.aae006"
                                  placeholder="请输入详细地址" p="E" :datas="{formData:form}"></ep-input>
                    </el-row>
                    <el-row :gutter="10">
                        <ep-select colspan="8" placeholder="请选择发放方式" label="发放方式" name="aae145" :property="form.aae145" p="R" codetype="AAE145" rules="this.$rules.test_noBlank"
                                   :datas="{formData:form}"></ep-select>
                        <ep-select colspan="8" label="发放银行" name="aaz065" :property="form.aaz065" placeholder="请选择发放银行"
                                   p="R" :datas="{formData: form}" codetype="AAZ065" rules="this.$rules.test_noBlank"></ep-select>
                        <ep-input colspan="8" placeholder="请输入银行账号" label="银行账号" name="aae010" :property="form.aae010" p="R" rules="this.$rules.test_noBlank"
                                  :datas="{formData:form}"></ep-input>
                    </el-row>
                    <el-row :gutter="10">
                        <ep-input colspan="8" placeholder="请输入银行开户名" label="银行开户名" name="aae009" :property="form.aae009" p="R" rules="this.$rules.test_noBlank"
                                  :datas="{formData:form}"></ep-input>
                        <epl-search-bank colspan="8" label="开户行行号" name="aaf002" :property="form.aaf002" placeholder="请选择开户行行号"
                                         p="R" :datas="{formData: form}" codetype="AAZ065" bankName="aaz065" show rules="this.$rules.test_noBlank"></epl-search-bank>
                        <ep-input colspan="8" label="开户行名称"  name="bac049" :property="form.bac049" p="D" rules="this.$rules.test_noBlank"
                                  :datas="{formData:form}"></ep-input>
                    </el-row>
                    <el-row :gutter="10">
                        <ep-input colspan="8" label="sum" name="sum" :property="form.sum" p="H"
                                  :datas="{formData:form}"></ep-input>
                        <ep-input colspan="8" label="actulmoney" name="actulmoney" :property="form.actulmoney" p="H"
                                  :datas="{formData:form}"></ep-input>
                    </el-row>
                    <el-row type="flex" justify="center">
                        <ep-saveButton id="doSave" type="primary" top="20" bottom="20" ref="save" @formValidate="formValidate"
                                       :validate="['form']"
                                       :datas="{formData: form,panel:panel,tableData1:tableData1}"></ep-saveButton>
                    </el-row>
                </el-form>
            </el-card>
        </el-main>
    </el-main>
</template>
<script src="../js/AdvanceStopApprovalJS.js"></script>
